Rtcl\Controllers\Hooks\Comments B

Total Complexity 80
Dependencies 1
Dependents 3
Total lines 487
Lines of code 271
Logical lines of code 144
Comment lines 155
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
check_comment_is_allowed()
A
44 13 42
wp_count_comments()
A
45 9 42
add_order_note()
A
44 7 44
add_comment_rating()
S
58 8 13
check_comment_rating()
S
62 8 9
check_comment_title()
S
62 7 9
delete_order_note()
S
63 4 10
add_comment_title()
S
70 4 5
get_average_rating_for_listing()
S
54 2 21
get_rating_counts_for_listing()
S
55 2 20
comment_moderation_recipients()
S
67 3 7
comments_open()
S
64 3 9
clear_transients()
S
67 2 8
exclude_order_comments()
S
74 2 4
exclude_order_comments_from_feed_where()
S
78 2 3
get_review_count_for_listing()
S
61 1 13
add_avatar_for_review_comment_type()
S
78 1 3
delete_comments_count_cache()
S
80 1 3
init()
S
69 1 6